package com.dazhi.show.story.vitae.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

//履历表
@TableName(value = "vitae")
public class Vitae {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "emperor_id")
    private String emperorId;    // 皇帝id,来自emperor表
    @TableField(value = "year")
    private String year;    // 年
    @TableField(value = "digest")
    private String digest;    // 摘要
    @TableField(value = "details")
    private String details;    // 详情

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmperorId() {
        return emperorId;
    }

    public void setEmperorId(String emperorId) {
        this.emperorId = emperorId;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }
}
